package com.ruoyi.project.wms.store.domain;

import com.ruoyi.project.wms.logistics.position.domain.WmsPosition;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 wms_store
 * 
 * @author ruoyi
 * @date 2020-09-30
 */
public class WmsStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long sid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long snum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sstatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long spid;

    private WmsPosition wmsPosition;

    public WmsPosition getWmsPosition() {
        return wmsPosition;
    }

    public void setWmsPosition(WmsPosition wmsPosition) {
        this.wmsPosition = wmsPosition;
    }

    public void setSid(Long sid)
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setSname(String sname) 
    {
        this.sname = sname;
    }

    public String getSname() 
    {
        return sname;
    }
    public void setSnum(Long snum) 
    {
        this.snum = snum;
    }

    public Long getSnum() 
    {
        return snum;
    }
    public void setSstatus(String sstatus) 
    {
        this.sstatus = sstatus;
    }

    public String getSstatus() 
    {
        return sstatus;
    }
    public void setSpid(Long spid) 
    {
        this.spid = spid;
    }

    public Long getSpid() 
    {
        return spid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("sname", getSname())
            .append("snum", getSnum())
            .append("sstatus", getSstatus())
            .append("spid", getSpid())
            .append("wmsPosition",getWmsPosition())
            .toString();
    }
}
